package com.ph.elec.data;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Volunteer implements Serializable {
	
	public interface VolunteerType {
		int NONE = 0;  
		int TIME = 1;  
		int CASH = 2;  
		int TIME_CASH = 3;  
	}

	private static final long serialVersionUID = 4652344659285369080L;

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private String key;
	
	@Persistent
	private String lastName;
	
	@Persistent
	private String firstName;
	
	@Persistent
	private String middleName;
	
	@Persistent
	private String birthDay;
	
	@Persistent
	private Integer age;
	
	@Persistent
	private Integer civilStatus;

	@Persistent
	private Integer occupation;

	@Persistent
	private Integer gender;

	@Persistent
	private Integer educationalAttainment;

	@Persistent
	private String email;
	
	@Persistent
	private String telephone;
	
	@Persistent
	private String mobile;
	
	@Persistent
	private Integer userVolunteer;
	
	@Persistent
	private Integer volunteerAssignment;
	
	@Persistent
	private Integer ITAssignment;
	
	@Persistent
	private Integer volunteerAmount;
	
	@Persistent
	private String region;
	
	@Persistent
	private String province;
	
	@Persistent
	private String city;
	
	@Persistent
	private String barangay;
	
	@Persistent
	private String streetAddress;
	
	@Persistent
	private String zipcode;
	
	@Persistent
	private Integer diocese;
	
	@Persistent
	private String parish;
	
	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getMiddleName() {
		return middleName;
	}

	public void setMiddleName(String middleName) {
		this.middleName = middleName;
	}

	public String getBirthDay() {
		return birthDay;
	}

	public void setBirthDay(String birthDay) {
		this.birthDay = birthDay;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getCivilStatus() {
		return civilStatus;
	}

	public void setCivilStatus(Integer civilStatus) {
		this.civilStatus = civilStatus;
	}

	public Integer getOccupation() {
		return occupation;
	}

	public void setOccupation(Integer occupation) {
		this.occupation = occupation;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public Integer getEducationalAttainment() {
		return educationalAttainment;
	}

	public void setEducationalAttainment(Integer educationalAttainment) {
		this.educationalAttainment = educationalAttainment;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Integer getUserVolunteer() {
		return userVolunteer;
	}

	public void setUserVolunteer(Integer userVolunteer) {
		this.userVolunteer = userVolunteer;
	}

	public Integer getVolunteerAssignment() {
		return volunteerAssignment;
	}

	public void setVolunteerAssignment(Integer volunteerAssignment) {
		this.volunteerAssignment = volunteerAssignment;
	}

	public Integer getITAssignment() {
		return ITAssignment;
	}

	public void setITAssignment(Integer assignment) {
		ITAssignment = assignment;
	}

	public Integer getVolunteerAmount() {
		return volunteerAmount;
	}

	public void setVolunteerAmount(Integer volunteerAmount) {
		this.volunteerAmount = volunteerAmount;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getBarangay() {
		return barangay;
	}

	public void setBarangay(String barangay) {
		this.barangay = barangay;
	}

	public String getStreetAddress() {
		return streetAddress;
	}

	public void setStreetAddress(String streetAddress) {
		this.streetAddress = streetAddress;
	}

	public String getZipcode() {
		return zipcode;
	}

	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	public Integer getDiocese() {
		return diocese;
	}

	public void setDiocese(Integer diocese) {
		this.diocese = diocese;
	}

	public String getParish() {
		return parish;
	}

	public void setParish(String parish) {
		this.parish = parish;
	}
}
